// samsting : this file is auto create.

#include "Yundun/2015-04-16/SecureCheckResponse.h"

namespace aliyun { namespace Yundun {

SecureCheckResponse::SecureCheckResponse() {
}

const string& SecureCheckResponse::Info::GetIp(void) const {
  return Ip_;
}

const string& SecureCheckResponse::Info::GetStatus(void) const {
  return Status_;
}

const string& SecureCheckResponse::Info::GetVulNum(void) const {
  return VulNum_;
}

const string& SecureCheckResponse::Info::GetInstanceId(void) const {
  return InstanceId_;
}

const std::vector<SecureCheckResponse::Info>& SecureCheckResponse::GetProblemList(void) const {
  return ProblemList_;
}

const std::vector<SecureCheckResponse::Info>& SecureCheckResponse::GetNoProblemList(void) const {
  return NoProblemList_;
}

const std::vector<SecureCheckResponse::Info>& SecureCheckResponse::GetNoScanList(void) const {
  return NoScanList_;
}

const std::vector<SecureCheckResponse::Info>& SecureCheckResponse::GetScanningList(void) const {
  return ScanningList_;
}

const std::vector<SecureCheckResponse::Info>& SecureCheckResponse::GetInnerIpList(void) const {
  return InnerIpList_;
}

const string& SecureCheckResponse::GetRecentInstanceId(void) const {
  return RecentInstanceId_;
}

const char* SecureCheckResponse::BaseKey(void) {
  return "SecureCheckResponse";
}

void SecureCheckResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int ProblemList__length = 0;
  UnmarshallerInt(ProblemList__length, response_map, "SecureCheckResponse.ProblemList.Length");
  if(ProblemList__length >= 0) {
    ProblemList_.resize(ProblemList__length);
    for(int i1 = 0; i1 < ProblemList__length; i1++) {
      UnmarshallerString(ProblemList_[i1].Ip_, response_map, "SecureCheckResponse.ProblemList["+string_ValueOfInt(i1)+"].Ip");
      UnmarshallerString(ProblemList_[i1].Status_, response_map, "SecureCheckResponse.ProblemList["+string_ValueOfInt(i1)+"].Status");
      UnmarshallerString(ProblemList_[i1].VulNum_, response_map, "SecureCheckResponse.ProblemList["+string_ValueOfInt(i1)+"].VulNum");
      UnmarshallerString(ProblemList_[i1].InstanceId_, response_map, "SecureCheckResponse.ProblemList["+string_ValueOfInt(i1)+"].InstanceId");
    } // for(int i1 = 0; i1 < ProblemList__length; i1++) {
  } // if(ProblemList__length >= 0) {

  int NoProblemList__length = 0;
  UnmarshallerInt(NoProblemList__length, response_map, "SecureCheckResponse.NoProblemList.Length");
  if(NoProblemList__length >= 0) {
    NoProblemList_.resize(NoProblemList__length);
    for(int i1 = 0; i1 < NoProblemList__length; i1++) {
      UnmarshallerString(NoProblemList_[i1].Ip_, response_map, "SecureCheckResponse.NoProblemList["+string_ValueOfInt(i1)+"].Ip");
      UnmarshallerString(NoProblemList_[i1].Status_, response_map, "SecureCheckResponse.NoProblemList["+string_ValueOfInt(i1)+"].Status");
      UnmarshallerString(NoProblemList_[i1].VulNum_, response_map, "SecureCheckResponse.NoProblemList["+string_ValueOfInt(i1)+"].VulNum");
      UnmarshallerString(NoProblemList_[i1].InstanceId_, response_map, "SecureCheckResponse.NoProblemList["+string_ValueOfInt(i1)+"].InstanceId");
    } // for(int i1 = 0; i1 < NoProblemList__length; i1++) {
  } // if(NoProblemList__length >= 0) {

  int NoScanList__length = 0;
  UnmarshallerInt(NoScanList__length, response_map, "SecureCheckResponse.NoScanList.Length");
  if(NoScanList__length >= 0) {
    NoScanList_.resize(NoScanList__length);
    for(int i1 = 0; i1 < NoScanList__length; i1++) {
      UnmarshallerString(NoScanList_[i1].Ip_, response_map, "SecureCheckResponse.NoScanList["+string_ValueOfInt(i1)+"].Ip");
      UnmarshallerString(NoScanList_[i1].Status_, response_map, "SecureCheckResponse.NoScanList["+string_ValueOfInt(i1)+"].Status");
      UnmarshallerString(NoScanList_[i1].VulNum_, response_map, "SecureCheckResponse.NoScanList["+string_ValueOfInt(i1)+"].VulNum");
      UnmarshallerString(NoScanList_[i1].InstanceId_, response_map, "SecureCheckResponse.NoScanList["+string_ValueOfInt(i1)+"].InstanceId");
    } // for(int i1 = 0; i1 < NoScanList__length; i1++) {
  } // if(NoScanList__length >= 0) {

  int ScanningList__length = 0;
  UnmarshallerInt(ScanningList__length, response_map, "SecureCheckResponse.ScanningList.Length");
  if(ScanningList__length >= 0) {
    ScanningList_.resize(ScanningList__length);
    for(int i1 = 0; i1 < ScanningList__length; i1++) {
      UnmarshallerString(ScanningList_[i1].Ip_, response_map, "SecureCheckResponse.ScanningList["+string_ValueOfInt(i1)+"].Ip");
      UnmarshallerString(ScanningList_[i1].Status_, response_map, "SecureCheckResponse.ScanningList["+string_ValueOfInt(i1)+"].Status");
      UnmarshallerString(ScanningList_[i1].VulNum_, response_map, "SecureCheckResponse.ScanningList["+string_ValueOfInt(i1)+"].VulNum");
      UnmarshallerString(ScanningList_[i1].InstanceId_, response_map, "SecureCheckResponse.ScanningList["+string_ValueOfInt(i1)+"].InstanceId");
    } // for(int i1 = 0; i1 < ScanningList__length; i1++) {
  } // if(ScanningList__length >= 0) {

  int InnerIpList__length = 0;
  UnmarshallerInt(InnerIpList__length, response_map, "SecureCheckResponse.InnerIpList.Length");
  if(InnerIpList__length >= 0) {
    InnerIpList_.resize(InnerIpList__length);
    for(int i1 = 0; i1 < InnerIpList__length; i1++) {
      UnmarshallerString(InnerIpList_[i1].Ip_, response_map, "SecureCheckResponse.InnerIpList["+string_ValueOfInt(i1)+"].Ip");
      UnmarshallerString(InnerIpList_[i1].Status_, response_map, "SecureCheckResponse.InnerIpList["+string_ValueOfInt(i1)+"].Status");
      UnmarshallerString(InnerIpList_[i1].VulNum_, response_map, "SecureCheckResponse.InnerIpList["+string_ValueOfInt(i1)+"].VulNum");
      UnmarshallerString(InnerIpList_[i1].InstanceId_, response_map, "SecureCheckResponse.InnerIpList["+string_ValueOfInt(i1)+"].InstanceId");
    } // for(int i1 = 0; i1 < InnerIpList__length; i1++) {
  } // if(InnerIpList__length >= 0) {

  UnmarshallerString(RecentInstanceId_, response_map, "SecureCheckResponse.RecentInstanceId");
}


} } // namespace aliyun { namespace Yundun {

// end of file 
